home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1997 August / Oasis demo.iso / Office / Claris13 / CLARIS.CST / 00034_Script_34 < prev    next >
Text File  |  1997-03-20  |  2KB  |  74 lines

  1. on ctrlbar
  2.   
  3.   global gbackground,gschedule,gproduct,gcontact,gexit,sectionactive
  4.   global cbackground,cschedule,cproduct,ccontact,cexit,voodoochild
  5.   global turnoffpoint 
  6.   
  7.   if gbackground <> sectionactive and rollover (gbackground) then
  8.     set the visible of sprite gbackground to true
  9.     set the visible of sprite sectionactive to false
  10.     updatestage
  11.   else
  12.     if gbackground <> sectionactive then
  13.       set the visible of sprite gbackground to false
  14.       updatestage
  15.     end if
  16.   end if
  17.   
  18.   if gschedule <> sectionactive and rollover (gschedule) then
  19.     set the visible of sprite gschedule to true
  20.     set the visible of sprite sectionactive to false
  21.     updatestage
  22.   else
  23.     if gschedule <> sectionactive then
  24.       set the visible of sprite gschedule to false
  25.       updatestage
  26.     end if
  27.   end if
  28.   
  29.   if gproduct <> sectionactive and rollover (gproduct) then
  30.     set the visible of sprite gproduct to true
  31.     set the visible of sprite sectionactive to false
  32.     updatestage
  33.   else
  34.     if gproduct <> sectionactive then
  35.       set the visible of sprite gproduct to false
  36.       updatestage
  37.     end if
  38.   end if
  39.   
  40.   if gcontact <> sectionactive and rollover (gcontact) then
  41.     set the visible of sprite gcontact to true
  42.     set the visible of sprite sectionactive to false
  43.     updatestage
  44.   else
  45.     if gcontact <> sectionactive then
  46.       set the visible of sprite gcontact to false
  47.       updatestage
  48.     end if
  49.   end if
  50.   
  51.   if gexit <> sectionactive and rollover (gexit) then
  52.     set the visible of sprite gexit to true
  53.     set the visible of sprite sectionactive to false
  54.     updatestage
  55.   else
  56.     if gexit <> sectionactive then
  57.       set the visible of sprite gexit to false
  58.       updatestage
  59.     end if
  60.   end if
  61.   
  62.   if the mouseV > turnoffpoint then 
  63.     set the visible of sprite sectionactive to true
  64.     updatestage
  65.   end if
  66.   
  67.   if rollover (sectionactive) then 
  68.     set the visible of sprite sectionactive to true
  69.     updatestage
  70.   end if
  71.   
  72.   
  73.  
  74. end ctrlbar